//
//  UIImageView+BaseImage.m
//  LottieAnimation
//
//  Created by 李江湖 on 2018/7/6.
//  Copyright © 2018年 李江湖. All rights reserved.
//

#import "UIImageView+BaseImage.h"

@implementation UIImageView (BaseImage)
//创建图片
+ (UIImageView *)imageViewWithFrame:(CGRect)frame
                              image:(UIImage*)image{
    UIImageView *imgView = [[UIImageView alloc] initWithFrame:frame];
    imgView.contentMode = UIViewContentModeScaleAspectFill;
    imgView.image = image;
    
    return imgView;
}
@end
